#include "rentgenview.h"
#include "logger.h"
#include <QtGui>

RentgenView::RentgenView(QWidget *parent) :
    QGraphicsView(parent)
{
}

void RentgenView::mousePressEvent(QMouseEvent *event)
{

    QPointF p(mapToScene(event->pos()));
    QPoint qp = p.toPoint();
    emit click(qp);
}

